package com.ruoyi.common.core.domain.entity;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: ruohao
 * @Date: 2023/9/14
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Energy extends BaseEntity {
    private Long id;
    @Excel(name = "记录时间", cellType = Excel.ColumnType.STRING)
    private Date recordTime;
    @Excel(name = "设备编号", cellType = Excel.ColumnType.STRING)
    private String deviceId;
    @Excel(name = "设备名称", cellType = Excel.ColumnType.STRING)
    private String deviceName;
    @Excel(name = "数量", cellType = Excel.ColumnType.STRING)
    private BigDecimal amount;
    private String location; //安装地址

}
